package com.zsk.mybaits.demo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
// mybatis dao接口所在的包，也可以不用这个注解，直接在dao街上上加@Mapper注解
@MapperScan("com.zsk.mybaits.demo.dao")
public class MybaitsDemoApplication {
    public static void main(String[] args) {
        SpringApplication.run(MybaitsDemoApplication.class, args);
    }
}
